package com.gsdse.service.impl;

import com.gsdse.dao.WxuserDao;
import com.gsdse.pojo.User;
import com.gsdse.pojo.wxuser;
import com.gsdse.service.WxuserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WxuserServiceImpl implements WxuserService {
    @Autowired
    private WxuserDao wxuserDao;
    
    @Override
    public Boolean InsertWxuser(wxuser wxuser) {
        Boolean a = wxuserDao.InsertWxuser(wxuser);
        return a;
    }

    @Override
    public wxuser SelectWxuser(String openid) {
        wxuser wxuser = wxuserDao.SelectWxuser(openid);
        return wxuser;
    }

    @Override
    public Boolean UpdateWxuser(wxuser wxuser) {
        Boolean a = wxuserDao.UpdateWxuser(wxuser);
        return a;
    }

}
